package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 权限管理_角色表
 * </p>
 *
 * @author azhao6
 * @since 2018-09-05
 */
public class PrvgRole implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 角色id
   */
  @TableId(type = IdType.UUID)
  private String rlid;
  /**
   * 角色名称
   */
  private String rlnm;
  /**
   * 状态(1：启用；0：禁用)
   */
  private String st;
  /**
   * 删除标识(1:可用；0:删除)
   */
  private String delid;
  /**
   * 创建时间
   */
  private String crttm;
  /**
   * 创建人
   */
  private String crtpsn;
  /**
   * 修改时间
   */
  private String modtm;
  /**
   * 修改人
   */
  private String modpsn;
  /**
   * 添加用户时默认角色id
   */
  private String dfltrlid;
  /**
   * 角色类型
   */
  private String roletype;


  public String getRlid() {
    return rlid;
  }

  public void setRlid(String rlid) {
    this.rlid = rlid;
  }

  public String getRlnm() {
    return rlnm;
  }

  public void setRlnm(String rlnm) {
    this.rlnm = rlnm;
  }

  public String getSt() {
    return st;
  }

  public void setSt(String st) {
    this.st = st;
  }

  public String getDelid() {
    return delid;
  }

  public void setDelid(String delid) {
    this.delid = delid;
  }

  public String getCrttm() {
    return crttm;
  }

  public void setCrttm(String crttm) {
    this.crttm = crttm;
  }

  public String getCrtpsn() {
    return crtpsn;
  }

  public void setCrtpsn(String crtpsn) {
    this.crtpsn = crtpsn;
  }

  public String getModtm() {
    return modtm;
  }

  public void setModtm(String modtm) {
    this.modtm = modtm;
  }

  public String getModpsn() {
    return modpsn;
  }

  public void setModpsn(String modpsn) {
    this.modpsn = modpsn;
  }

  public String getDfltrlid() {
    return dfltrlid;
  }

  public void setDfltrlid(String dfltrlid) {
    this.dfltrlid = dfltrlid;
  }

  public String getRoletype() {
    return roletype;
  }

  public void setRoletype(String roletype) {
    this.roletype = roletype;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
